package com.atwulidun.builder04;
// 产品
public class House {
    private int base;
    private int wall;
    private String roof;

    public House() {
    }

    public int getBase() {
        return base;
    }

    public void setBase(int base) {
        this.base = base;
    }

    public int getWall() {
        return wall;
    }

    public void setWall(int wall) {
        this.wall = wall;
    }

    public String getRoof() {
        return roof;
    }

    public void setRoof(String roof) {
        this.roof = roof;
    }

    @Override
    public String toString() {
        return "地基深度为：" + base +
                "m,\n墙体厚度为：" + wall +
                "cm,\n屋顶材料为：" + roof;
    }
}
